<!--
 * @Author: Seon.Hu SeonHu@126.com
 * @Date: 2023-06-16 15:13:36
 * @LastEditors: Seon.Hu SeonHu@126.com
 * @LastEditTime: 2024-02-05 12:38:27
 * @FilePath: \bg-vben\src\views\dashboard\workbench\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <PageWrapper>
    <template #headerContent> <WorkbenchHeader /> </template>
    <div class="lg:flex">
      <div class="lg:w-7/10 w-full !mr-4 enter-y">
        <QuickNavCard :loading="loading" class="enter-y" />
        <!-- <ProjectCard :loading="loading" class="!my-4 enter-y" /> -->
        <Message :loading="loading" class="!my-4 enter-y" />
      </div>
      <div class="w-full lg:w-3/10 enter-y">
        <Card class="enter-y" :loading="loading">
          <img
            style="height: 216px"
            class="h-20 mx-auto"
            src="../../../assets/svg/illustration.svg"
          />
        </Card>
        <Card class="!my-4 enter-y" :loading="loading">
          <Calendar :fullscreen="false" />
        </Card>

        <!-- <SaleRadar :loading="loading" class="enter-y" /> -->
      </div>
    </div>
  </PageWrapper>
</template>
<script lang="ts" setup>
  import { ref } from 'vue';

  import { Card, Calendar } from 'ant-design-vue';
  import { PageWrapper } from '@/components/Page';
  import WorkbenchHeader from './components/WorkbenchHeader.vue';
  // import ProjectCard from './components/ProjectCard.vue';
  import QuickNavCard from './components/QuickNav.vue';
  import Message from './components/Message.vue';
  // import SaleRadar from './components/SaleRadar.vue';

  defineOptions({ name: 'WorkbenchPage' });

  const loading = ref(true);

  setTimeout(() => {
    loading.value = false;
  }, 500);
</script>
